package com.macro.mall.dao.ums;


import java.util.List;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.macro.mall.model.ums.UmsRoleMenuRelationDO;
import com.macro.mall.model.ums.UmsRoleMenuRelationQuery;
import org.apache.ibatis.annotations.Param;

public interface UmsRoleMenuRelationMapper  extends BaseMapper<UmsRoleMenuRelationDO> {
    long countByExample(UmsRoleMenuRelationQuery example);

    int deleteByExample(UmsRoleMenuRelationQuery example);

    int deleteByPrimaryKey(Long id);

    int insert(UmsRoleMenuRelationDO record);

    int insertSelective(UmsRoleMenuRelationDO record);

    List<UmsRoleMenuRelationDO> selectByExample(UmsRoleMenuRelationQuery example);

    UmsRoleMenuRelationDO selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") UmsRoleMenuRelationDO record, @Param("example") UmsRoleMenuRelationQuery example);

    int updateByExample(@Param("record") UmsRoleMenuRelationDO record, @Param("example") UmsRoleMenuRelationQuery example);

    int updateByPrimaryKeySelective(UmsRoleMenuRelationDO record);

    int updateByPrimaryKey(UmsRoleMenuRelationDO record);
}
